import React from 'react'
import {Provider} from 'react-redux';
import store from './store/index';
import {HashRouter} from 'react-router-dom'
import WrapRoute from './routes/index'
import 'lib-flexible/flexible'
import './App.css'

function App() {
  return (
    <Provider store={store}>
      <HashRouter>
        <WrapRoute/> {/* react-router V6 使用useRoutes 渲染路由  */}
      </HashRouter>
    </Provider>
  )
}

export default App
